// 返回列表页面时，是否要刷新
const REFRESH_PAGE_TYPE = {
  //  刷新
  REFRESH: 'refresh',
  //  不刷新
  NO_REFRESH: 'noRefresh'
}

const SEX_CONFIG = {
  MAN: '1',
  GIRL: '0'
}

const SEX_LIST = [
  {
    label: '男',
    value: SEX_CONFIG.MAN
  },
  {
    label: '女',
    value: SEX_CONFIG.GIRL
  },
]

const GEOMETRY_TYPE = {
  // 面
  POLYGON: 'polygon',
  // 线
  POLYLINE: 'polyline',
  // 点
  POINT: 'point',
};

const GEOMETRY_DATA_FILED = {
  [GEOMETRY_TYPE.POLYGON]: 'rings',
  [GEOMETRY_TYPE.POLYLINE]: 'paths',
  [GEOMETRY_TYPE.POINT]: 'point',
}

const HANDLE_TYPE = {
  ADD: 'add',
  UPDATE: 'UPDATE',
  SHOW: 'SHOW',
}

export {HANDLE_TYPE,GEOMETRY_DATA_FILED, GEOMETRY_TYPE, REFRESH_PAGE_TYPE, SEX_CONFIG, SEX_LIST}
